using ZeroBlog.Application.Posts.Dtos.In;
using ZeroBlog.Application.Posts.Dtos.Out;
using ZeroBlog.Application.Posts.Dtos.Query;
using ZeroSum.Models;

namespace ZeroBlog.Application.Posts;

public interface IPostApplicationService
{
    Task AddAsync(AddPostDto dto);
    Task DeleteAsync(DeletePostDto dto);
    Task UpdateAsync(UpdatePostDto dto);
    Task<DetailPostDto> Detail(DetailPostQuery query);
    Task<PagedResponseModel<PagePostDto>> Page(PagePostQuery query);
}